
// River and Leaf Custom Object Types

beginscendatascript;

// I have my own custom shortcut key arrangement, so I will include all floor types
// in order to retain it.
// FLOOR TYPES
// A Blades of Avernum scenario can have up to 256 floor types.
// begin cave floors
	begindefinefloor 0; // this floor gets imported for some basic floors
	fl_name = "Cave Floor";
	fl_which_sheet = 700;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 0;
	fl_is_ground = 1;
	fl_shortcut_key = 0;

begindefinefloor 1;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;

begindefinefloor 2;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 3;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;

begindefinefloor 4;
	clear;
	fl_name = "Rough Stone Floor";
	fl_which_sheet = 700;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1001;
	fl_shortcut_key = 1;
begindefinefloor 5;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
begindefinefloor 6;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
begindefinefloor 7;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;

begindefinefloor 8;
	fl_name = "Volcanic Floor";
	fl_which_icon = 8;
	fl_ed_which_icon = 8;
	fl_is_rough = 0;
	fl_out_fight_town_used = 1008;
	fl_shortcut_key = 2;
begindefinefloor 9;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
begindefinefloor 10;
	fl_which_sheet = 701;
	fl_which_icon = 0;
	fl_ed_which_icon = 10;

// cave/rough floors
begindefinefloor 11;
	clear;
	fl_name = "Rough Stone Floor";
	fl_which_sheet = 701;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 11;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1001;
	fl_shortcut_key = -1;
begindefinefloor 12;
	fl_which_icon = 2;
	fl_ed_which_icon = 12;
begindefinefloor 13;
	fl_which_icon = 3;
	fl_ed_which_icon = 13;
begindefinefloor 14;
	fl_which_icon = 4;
	fl_ed_which_icon = 14;
begindefinefloor 15;
	fl_which_icon = 5;
	fl_ed_which_icon = 15;
begindefinefloor 16;
	fl_which_icon = 6;
	fl_ed_which_icon = 16;
begindefinefloor 17;
	fl_which_icon = 7;
	fl_ed_which_icon = 17;
begindefinefloor 18;
	fl_which_icon = 8;
	fl_ed_which_icon = 18;
begindefinefloor 19;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 20;
	fl_which_sheet = 702;
	fl_which_icon = 0;
	fl_ed_which_icon = 20;
begindefinefloor 21;
	fl_which_icon = 1;
	fl_ed_which_icon = 21;
begindefinefloor 22;
	fl_which_icon = 2;
	fl_ed_which_icon = 22;

// cave water
begindefinefloor 23;
	// imported for water later
	clear;
	fl_name = "Water";
	fl_which_sheet = 524;
	fl_which_icon = 5;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 70;
	fl_is_water = 1;
	fl_shortcut_key = 3;
	fl_blocked = 1;
	fl_fly_over = 0;
	fl_out_fight_town_used = 1007;
	fl_shimmers = 2;
	fl_anim_steps = 4;
begindefinefloor 24;
	fl_which_icon = 5;
	fl_ed_which_icon = 70;
begindefinefloor 25;
	fl_which_sheet = 570;
	fl_which_icon = 0;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 72;
	fl_shortcut_key = -1;
begindefinefloor 26;
	fl_which_icon = 4;
	fl_ed_which_icon = 73;
begindefinefloor 27;
	fl_which_sheet = 571;
	fl_which_icon = 0;
	fl_ed_which_icon = 74;
begindefinefloor 28;
	fl_which_icon = 4;
	fl_ed_which_icon = 75;
begindefinefloor 29;
	fl_which_sheet = 572;
	fl_which_icon = 0;
	fl_ed_which_icon = 76;
begindefinefloor 30;
	fl_which_icon = 4;
	fl_ed_which_icon = 77;
begindefinefloor 31;
	fl_which_sheet = 573;
	fl_which_icon = 0;
	fl_ed_which_icon = 78;
begindefinefloor 32;
	fl_which_icon = 4;
	fl_ed_which_icon = 79;
begindefinefloor 33;
	fl_which_sheet = 574;
	fl_which_icon = 0;
	fl_ed_which_icon = 80;
begindefinefloor 34;
	fl_which_icon = 4;
	fl_ed_which_icon = 81;
begindefinefloor 35;
	fl_which_sheet = 575;
	fl_which_icon = 0;
	fl_ed_which_icon = 82;
begindefinefloor 36;
	fl_which_icon = 4;
	fl_ed_which_icon = 83;

// begin surface grass/desert
begindefinefloor 37;
	clear;
	fl_name = "Ground";
	fl_which_sheet = 520;
	fl_which_icon = 5;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 10;
	fl_is_ground = 1;
	fl_out_fight_town_used = 1010;
	fl_shortcut_key = 4;
	fl_fly_over = 1;	
begindefinefloor 38;
	fl_which_icon = 6;
	fl_ed_which_icon = 11;
begindefinefloor 39;
	fl_which_icon = 7;
	fl_ed_which_icon = 12;
begindefinefloor 40;
	fl_which_icon = 7;
	fl_ed_which_icon = 12;

begindefinefloor 41;
	clear;
	fl_name = "Mountainside";
	fl_which_sheet = 521;
	fl_which_icon = 0;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 36;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1017;
	fl_shortcut_key = 5;
	fl_fly_over = 1;

begindefinefloor 42;
	fl_which_icon = 1;
	fl_ed_which_icon = 37;
begindefinefloor 43;
	fl_which_icon = 2;
	fl_ed_which_icon = 38;
begindefinefloor 44;
	fl_fly_over = 1;
	fl_which_icon = 3;
	fl_ed_which_icon = 39;
begindefinefloor 45;
	fl_which_icon = 4;
	fl_ed_which_icon = 40;
begindefinefloor 46;
	fl_which_icon = 5;
	fl_ed_which_icon = 41;
begindefinefloor 47;
	fl_which_icon = 6;
	fl_ed_which_icon = 42;
begindefinefloor 48;
	fl_which_icon = 7;
	fl_ed_which_icon = 43;
begindefinefloor 49;
	fl_which_icon = 8;
	fl_ed_which_icon = 44;
begindefinefloor 50;
	fl_which_icon = 9;
	fl_ed_which_icon = 45;
begindefinefloor 51;
	fl_which_sheet = 522;
	fl_which_icon = 0;
	fl_ed_which_icon = 46;
begindefinefloor 52;
	fl_which_icon = 1;
	fl_ed_which_icon = 47;
begindefinefloor 53;
	fl_which_icon = 2;
	fl_ed_which_icon = 48;
begindefinefloor 54;
	fl_which_icon = 3;
	fl_ed_which_icon = 49;
begindefinefloor 55;
	fl_which_icon = 4;
	fl_ed_which_icon = 50;
begindefinefloor 56;
	fl_which_icon = 5;
	fl_ed_which_icon = 51;

// surface water	
begindefinefloor 57;
	clear;
	fl_name = "Water";
	fl_which_sheet = 523;
	fl_which_icon = 0;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 54;
	fl_out_fight_town_used = 1016;
	fl_shortcut_key = 6;
	fl_is_water = 1;
	fl_blocked = 1;
	fl_fly_over = 0;
	fl_shimmers = 2;
	
begindefinefloor 58;
	fl_which_icon = 0;
	fl_ed_which_icon = 54;	

begindefinefloor 59;
	fl_which_icon = 3;
	fl_anim_steps = 0;
	fl_ed_which_icon = 57;
	fl_shortcut_key = -1;
begindefinefloor 60;
	fl_which_icon = 4;
	fl_ed_which_icon = 58;
begindefinefloor 61;
	fl_which_icon = 5;
	fl_ed_which_icon = 59;
begindefinefloor 62;
	fl_which_icon = 6;
	fl_ed_which_icon = 60;
begindefinefloor 63;
	fl_which_icon = 7;
	fl_ed_which_icon = 61;
begindefinefloor 64;
	fl_which_icon = 8;
	fl_ed_which_icon = 62;
begindefinefloor 65;
	fl_which_icon = 9;
	fl_ed_which_icon = 63;
begindefinefloor 66;
	fl_which_sheet = 524;
	fl_which_icon = 0;
	fl_ed_which_icon = 64;
begindefinefloor 67;
	fl_which_icon = 1;
	fl_ed_which_icon = 65;
begindefinefloor 68;
	fl_which_icon = 2;
	fl_ed_which_icon = 66;
begindefinefloor 69;
	fl_which_icon = 3;
	fl_ed_which_icon = 67;
begindefinefloor 70;
	fl_which_icon = 4;
	fl_ed_which_icon = 68;
	

// Mixed out floors
begindefinefloor 71;
	// imported later for a generic blocked floor
	clear;
	fl_name = "Pit";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;
	fl_blocked = 1;
	fl_fly_over = 1;
	fl_is_water = 1;
	fl_shortcut_key = 7;
begindefinefloor 72;
	clear;
	fl_name = "Dirt";
	fl_which_sheet = 780;
	fl_which_icon = 8;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 8;
	fl_shortcut_key = 7;
	fl_out_fight_town_used = 1021;
	fl_is_ground = 1;
	fl_is_rough = 1;
begindefinefloor 73;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
begindefinefloor 74;
	fl_which_sheet = 781;
	fl_which_icon = 0;
	fl_ed_which_icon = 10;

// Swamps
begindefinefloor 75;
	clear;
	fl_name = "Swamp";
	fl_which_sheet = 704;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 44;
	fl_step_sound = 55;
	fl_out_fight_town_used = 1006;
	fl_special_property = 4;
	fl_special_strength = 3;
	fl_shortcut_key = 8;
begindefinefloor 76;
	fl_which_icon = 5;
	fl_ed_which_icon = 45;
	fl_is_rough = 1;
	fl_special_property = 5;
	fl_special_strength = 3;
begindefinefloor 77;
	fl_which_sheet = 520;
	fl_which_icon = 9;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 13;
	fl_is_ground = 1;
	fl_out_fight_town_used = 1015;
	fl_special_property = 4;
	fl_special_strength = 3;
begindefinefloor 78;
	fl_which_sheet = 783;
	fl_which_icon = 9;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 39;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1019;
	fl_special_property = 5;
	fl_special_strength = 3;

// Lava
begindefinefloor 79;
	clear;
	fl_name = "Lava";
	fl_which_sheet = 713;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 39;
	fl_special_property = 1;
	fl_special_strength = 50;
	fl_out_fight_town_used = 1009;
	fl_is_rough = 1;
	fl_anim_steps = 4;
	fl_shortcut_key = 9;	
begindefinefloor 80; // Fake lava! does no damage
	fl_special_property = 0;

// other odd floors
begindefinefloor 81;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 704;
	fl_which_icon = 6;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 46;
	fl_out_fight_town_used = 1022;
	fl_shortcut_key = 10;	
begindefinefloor 82;
	fl_which_icon = 7;
	fl_ed_which_icon = 47;
begindefinefloor 83;
	clear;
	fl_name = "Crops";
	fl_which_sheet = 706;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 60;
	fl_out_fight_town_used = 1000;
	fl_shortcut_key = 10;
begindefinefloor 84;
	fl_which_icon = 1;
	fl_ed_which_icon = 61;
begindefinefloor 85;
	fl_which_sheet = 789;
	fl_which_icon = 7;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 96;
	fl_out_fight_town_used = 1010;
begindefinefloor 86;
	fl_which_icon = 6;
	fl_ed_which_icon = 97;

// water that isn't adjusted by the engine. stays a square block of water
begindefinefloor 87;
	clear;
	fl_name = "Water";
	fl_which_sheet = 524;
	fl_which_icon = 5;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 70;
	fl_shortcut_key = 3;
	fl_anim_steps = 4;
	fl_fly_over = 0;
	fl_out_fight_town_used = 1007;
	fl_shimmers = 2;
	fl_special_property = 6;
begindefinefloor 88;
	clear;
	fl_name = "Water";
	fl_which_sheet = 523;
	fl_which_icon = 0;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 54;
	fl_out_fight_town_used = 1016;
	fl_shortcut_key = 6;
	fl_fly_over = 0;
	fl_shimmers = 2;
	fl_special_property = 6;
	
begindefinefloor 89;
	clear;
	fl_name = "Blackened Stone";
	fl_which_sheet = 773;
	fl_which_icon = 2;
	fl_ed_which_sheet = 687;
	fl_ed_which_icon = 32;
	fl_out_fight_town_used = 1023;
	fl_shortcut_key = 11;
begindefinefloor 90;
	fl_name = "Crops";
	fl_which_sheet = 795;
	fl_which_icon = 7;
	fl_ed_which_sheet = 689;
	fl_ed_which_icon = 57;
	fl_out_fight_town_used = 1010;
begindefinefloor 91;
	fl_which_icon = 8;
	fl_ed_which_icon = 58;
	
begindefinefloor 92;
	clear;
	fl_name = "Ice";
	fl_which_sheet = 752;
	fl_which_icon = 0;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 20;
	fl_special_property = 2;
	fl_special_strength = 50;
	// fl_out_fight_town_used = 1009;
	fl_is_rough = 1;
	fl_anim_steps = 4;
	fl_shortcut_key = 9;	
begindefinefloor 93;  
	fl_special_property = 0;

begindefinefloor 94;
	clear;
	fl_name = "Floor";
	fl_which_sheet = 704;
	fl_which_icon = 8;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 48;
	fl_shortcut_key = 12;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
	fl_special_property = 3;
	fl_special_strength = 16;	

// stone floors
begindefinefloor 95;
	clear;
	fl_name = "Floor";
	fl_which_sheet = 704;
	fl_which_icon = 8;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 48;
	fl_shortcut_key = 12;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 96;
	fl_which_icon = 9;
	fl_ed_which_icon = 49;
begindefinefloor 97;
	fl_which_sheet = 705;
	fl_which_icon = 6;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 56;
begindefinefloor 98;
	fl_which_icon = 7;
	fl_ed_which_icon = 57;
begindefinefloor 99;
	fl_name = "Wooden Floor";
	fl_which_icon = 8;
	fl_ed_which_icon = 58;
	fl_shortcut_key = 13;
begindefinefloor 100;
	fl_name = "Floor";
	fl_which_sheet = 706;
	fl_which_icon = 2;
	fl_ed_which_sheet = 585;
	fl_ed_which_icon = 46;
begindefinefloor 101;
	fl_which_sheet = 709;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 94;
begindefinefloor 102;
	fl_which_sheet = 704;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 82;
begindefinefloor 103;
	fl_which_sheet = 704;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 81;
	
begindefinefloor 104;
	clear;
	fl_name = "Walkway";
	fl_which_sheet = 542;
	fl_which_icon = 4;
	fl_ed_which_sheet = 585;
	fl_ed_which_icon = 54;
	fl_shortcut_key = 16;
	fl_out_fight_town_used = 1025;
	fl_is_rough = 1;	

// mosaic 1 & 2
begindefinefloor 105;
	clear;
	fl_name = "Mosaic Floor";
	fl_which_sheet = 705;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 50;
	fl_is_floor = 1;
	fl_out_fight_town_used = 1024;
	fl_shortcut_key = 14;

begindefinefloor 106;
	fl_which_icon = 1;
	fl_ed_which_icon = 51;
begindefinefloor 107;
	fl_which_icon = 2;
	fl_ed_which_icon = 52;
begindefinefloor 108;
	fl_which_icon = 3;
	fl_ed_which_icon = 53;
begindefinefloor 109;
	fl_which_icon = 4;
	fl_ed_which_icon = 54;
begindefinefloor 110;
	fl_which_icon = 5;
	fl_ed_which_icon = 55;
begindefinefloor 111;
	fl_which_sheet = 752;
	fl_which_icon = 4;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 24;
begindefinefloor 112;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 113;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 114;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 115;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 116;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;

// carpets
begindefinefloor 117;
	clear;
	fl_name = "Red Carpet";
	fl_which_sheet = 707;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 73;
	fl_is_floor = 1;
	fl_out_fight_town_used = 1024;
	fl_shortcut_key = 15;

begindefinefloor 118;
	fl_name = "Blue Carpet";
	fl_ed_which_icon = 74;
	fl_icon_adjust = 4;
begindefinefloor 119;
	fl_name = "Red Carpet";
	fl_which_sheet = 709;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 90;
	fl_icon_adjust = 0;
begindefinefloor 120;
	fl_name = "Green Carpet";
	fl_ed_which_icon = 91;
	fl_icon_adjust = 18;
begindefinefloor 121;
	fl_name = "Carpet on Floor";
	fl_icon_adjust = 0;
	fl_which_icon = 2;
	fl_ed_which_icon = 92;
begindefinefloor 122;
	fl_which_sheet = 773;
	fl_which_icon = 9;
	fl_ed_which_sheet = 687;
	fl_ed_which_icon = 39;

begindefinefloor 123;
	clear;
	fl_name = "Walkway";
	fl_which_sheet = 715;
	fl_which_icon = 9;
	fl_ed_which_sheet = 681;
	fl_ed_which_icon = 59;
	fl_shortcut_key = 16;
	fl_out_fight_town_used = 1025;
	fl_is_rough = 1;
	fl_icon_adjust = 32;
	
begindefinefloor 124;
	clear;
	fl_name = "Carpet";
	fl_which_sheet = 709;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 91;
	fl_is_floor = 1;
	fl_shortcut_key = 15;
	
// Blocked floors ... monsters won't enter these
begindefinefloor 125;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 700;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 0;
	fl_is_ground = 1;
	fl_shortcut_key = 17;
	fl_special_property = 6;
begindefinefloor 126;
	clear;
	fl_name = "Rough Stone Floor";
	fl_which_sheet = 700;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1001;
	fl_special_property = 6;
	fl_shortcut_key = 17;

begindefinefloor 127;
	clear;
	fl_name = "Ground";
	fl_which_sheet = 520;
	fl_which_icon = 5;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 10;
	fl_is_ground = 1;
	fl_out_fight_town_used = 1010;
	fl_special_property = 6;
	fl_shortcut_key = 17;
begindefinefloor 128;
	clear;
	fl_name = "Dry Ground";
	fl_which_sheet = 780;
	fl_which_icon = 4;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1017;
	fl_special_property = 6;
	fl_shortcut_key = 17;

begindefinefloor 129;
	clear;
	fl_name = "Floor";
	fl_which_sheet = 704;
	fl_which_icon = 8;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 48;
	fl_shortcut_key = 17;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
	fl_special_property = 6;
	
begindefinefloor 130;
	clear;
	fl_name = "Stalagmites";
	fl_which_sheet = 759;
	fl_which_icon = 8;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 98;

begindefinefloor 131;
	clear;
	fl_name = "Stalagmites";
	fl_which_sheet = 759;
	fl_which_icon = 9;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 99;
	
begindefinefloor 132;
	clear;
	fl_name = "Dirt";
	fl_which_sheet = 703;
	fl_which_icon = 7;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 37;
	
begindefinefloor 133;
	clear;
	fl_name = "Dirt";
	fl_which_sheet = 705;
	fl_which_icon = 9;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 59;
	
begindefinefloor 134;
	clear;
	fl_name = "Diseased Land";
	fl_which_sheet = 751;
	fl_which_icon = 5;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 15;

begindefinefloor 135;
	clear;
	fl_name = "Swamp";
	fl_which_sheet = 751;
	fl_which_icon = 6;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 16;
	
begindefinefloor 136;
	clear;
	fl_name = "Ground";
	fl_which_sheet = 751;
	fl_which_icon = 7;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 17;

begindefinefloor 137;
	clear;
	fl_name = "Floor";
	fl_which_sheet = 761;
	fl_which_icon = 4;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 14;
	
begindefinefloor 138;
	clear;
	fl_name = "Rune";
	fl_which_sheet = 761;
	fl_which_icon = 5;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 15;
	fl_anim_steps = 4;
	
begindefinefloor 139;
	clear;
	fl_name = "Mat";
	fl_which_sheet = 761;
	fl_which_icon = 9;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 19;
	
begindefinefloor 140;
	clear;
	fl_name = "Marble Floor";
	fl_which_sheet = 513;
	fl_which_icon = 0;
	fl_ed_which_sheet = 582;
	fl_ed_which_icon = 20;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;

begindefinefloor 141;	
	fl_special_property = 6;

begindefinefloor 142;
	clear;
	fl_name = "Wooden Floor";
	fl_which_sheet = 513;
	fl_which_icon = 2;
	fl_ed_which_sheet = 582;
	fl_ed_which_icon = 22;
	fl_shortcut_key = 18;
	
begindefinefloor 143;
	fl_which_icon = 3;
	fl_ed_which_icon = 23;

begindefinefloor 144;
	fl_which_icon = 4;
	fl_ed_which_icon = 24;

begindefinefloor 145;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
	
begindefinefloor 146;
	clear;
	fl_name = "Void";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;

begindefinefloor 147;
	clear;
	fl_name = "Cold Water";
	fl_special_property = 2;
	fl_special_strength = 32;
	fl_which_sheet = 782;
	fl_which_icon = 4;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 24;
	fl_out_fight_town_used = 1016;
	
begindefinefloor 148;
	clear;
	fl_name = "Warped Space";
	fl_which_sheet = 743;
	fl_which_icon = 3;
	fl_ed_which_sheet = 581;
	fl_ed_which_icon = 18;
	fl_anim_steps = 4;
	
begindefinefloor 149;
	clear;
	fl_name = "Rune on floor";
	fl_which_sheet = 512;
	fl_which_icon = 1;
	fl_ed_which_sheet = 582;
	fl_ed_which_icon = 11;
	fl_special_property = 6;
		
// walkways
begindefinefloor 150;
clear;
fl_name = "Walkway";
fl_which_sheet = 512;
fl_which_icon = 2;
fl_ed_which_sheet = 585;
fl_ed_which_icon = 40;
fl_out_fight_town_used = 1025;

begindefinefloor 151;
fl_which_icon = 3;
fl_ed_which_icon = 41;

begindefinefloor 152;
fl_which_icon = 4;
fl_ed_which_icon = 42;

begindefinefloor 153;
fl_which_icon = 5;
fl_ed_which_icon = 43;

begindefinefloor 154;
	clear;
	fl_name = "Hills";
	fl_which_sheet = 519;
	fl_which_icon = 0;
	fl_ed_which_sheet = 582;
	fl_ed_which_icon = 84;
	fl_shortcut_key = 19;
	fl_out_fight_town_used = 32;
	
begindefinefloor 155;
	fl_which_icon = 1;
	fl_ed_which_icon = 85;
	
begindefinefloor 156;
	fl_which_icon = 2;
	fl_ed_which_icon = 86;
	
begindefinefloor 157;
	fl_which_icon = 9;
	fl_ed_which_icon = 93;
	fl_shortcut_key = 20;
	
begindefinefloor 158;
	fl_which_sheet = 520;
	fl_which_icon = 2;
	fl_ed_which_icon = 96;
	
begindefinefloor 159;
	fl_which_sheet = 519;
	fl_which_icon = 3;
	fl_ed_which_icon = 87;
	
begindefinefloor 160;
	fl_which_sheet = 520;
	fl_which_icon = 1;
	fl_ed_which_icon = 95;
	
begindefinefloor 161;
	fl_which_sheet = 519;
	fl_which_icon = 5;
	fl_ed_which_icon = 89;
	
begindefinefloor 162;
	fl_which_sheet = 520;
	fl_which_icon = 4;
	fl_ed_which_icon = 98;
	
begindefinefloor 163;
	fl_which_sheet = 519;
	fl_which_icon = 7;
	fl_ed_which_icon = 91;
	
begindefinefloor 164;
	fl_which_sheet = 520;
	fl_which_icon = 3;
	fl_ed_which_icon = 97;
	
begindefinefloor 165;
	fl_which_sheet = 519;
	fl_which_icon = 8;
	fl_ed_which_icon = 92;
	fl_shortcut_key = 21;
	
begindefinefloor 166;
	fl_which_icon = 6;
	fl_ed_which_icon = 90;
	
begindefinefloor 167;
	fl_which_icon = 4;
	fl_ed_which_icon = 88;
	
begindefinefloor 168;
	fl_which_sheet = 520;
	fl_which_icon = 0;
	fl_ed_which_icon = 94;
	
begindefinefloor 169;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 570;
	fl_which_icon = 8;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 14;
	fl_is_ground = 1;
	fl_special_property = 4;
	fl_special_strength = 3;
	fl_shortcut_key = 22;
	
begindefinefloor 170;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 517;
	fl_which_icon = 0;
	fl_ed_which_sheet = 582;
	fl_ed_which_icon = 60;
	fl_is_ground = 1;
	fl_shortcut_key = 22;
		
begindefinefloor 171;
	fl_which_icon = 1;
	fl_ed_which_icon = 61;

begindefinefloor 172;
	fl_which_icon = 2;
	fl_ed_which_icon = 62;

begindefinefloor 173;
	fl_which_icon = 3;
	fl_ed_which_icon = 63;
	
begindefinefloor 174;
	fl_which_icon = 4;
	fl_ed_which_icon = 64;
	
begindefinefloor 175;
	fl_name = "Cave Floor";
	fl_which_sheet = 518;
	fl_which_icon = 7;
	fl_ed_which_icon = 65;
	fl_shortcut_key = 23;
	fl_blocked = 1;
		
begindefinefloor 176;
	fl_which_sheet = 517;
	fl_which_icon = 7;
	fl_ed_which_icon = 66;
		
begindefinefloor 177;
	fl_which_icon = 7;
	fl_ed_which_icon = 67;
	fl_blocked = 0;
	
begindefinefloor 178;
	fl_which_icon = 8;
	fl_ed_which_icon = 68;
	fl_blocked = 1;
	
begindefinefloor 179;
	fl_which_icon = 9;
	fl_ed_which_icon = 69;	
	fl_blocked = 1;
	
begindefinefloor 180;
	fl_which_icon = 9;
	fl_ed_which_icon = 70;
	fl_blocked = 0;
		
begindefinefloor 181;
	fl_which_sheet = 518;
	fl_which_icon = 0;
	fl_ed_which_icon = 71;
	fl_blocked = 1;
	
begindefinefloor 182;
	fl_which_icon = 1;
	fl_ed_which_icon = 72;
	fl_blocked = 1;
	
begindefinefloor 183;
	fl_which_icon = 1;
	fl_ed_which_icon = 73;
	fl_blocked = 0;
	
begindefinefloor 184;
	fl_which_icon = 2;
	fl_ed_which_icon = 74;
	fl_blocked = 1;
		
begindefinefloor 185;
	fl_which_sheet = 517;
	fl_which_icon = 5;
	fl_ed_which_icon = 75;
	fl_blocked = 1;
		
begindefinefloor 186;
	fl_which_icon = 5;
	fl_ed_which_icon = 76;
	fl_blocked = 0;
	
begindefinefloor 187;
	fl_which_icon = 6;
	fl_ed_which_icon = 77;
	fl_blocked = 1;
	
begindefinefloor 188;
	fl_which_sheet = 518;
	fl_which_icon = 3;
	fl_ed_which_icon = 78;
	fl_shortcut_key = 24;
	
begindefinefloor 189;
	fl_which_icon = 4;
	fl_ed_which_icon = 79;
	
begindefinefloor 190;
	fl_which_icon = 5;
	fl_ed_which_sheet = 582;
	fl_ed_which_icon = 80;

begindefinefloor 191;
	fl_which_icon = 6;
	fl_ed_which_icon = 81;

begindefinefloor 192;
	fl_which_icon = 8;
	fl_ed_which_icon = 82;	

begindefinefloor 193;
	fl_which_icon = 9;
	fl_ed_which_icon = 83;
	
//Floor types 194,195 are treated as signs!
begindefinefloor 194;
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 18;
	
begindefinefloor 195;
	fl_which_icon = 3;
	fl_ed_which_icon = 19;

begindefinefloor 196;
	clear;
	fl_name = "Road";
	fl_which_sheet = 572;
	fl_which_icon = 8;
	fl_ed_which_sheet = 585;
	fl_ed_which_icon = 44;

begindefinefloor 197;
	fl_which_icon = 9;
	fl_ed_which_icon = 45;	

begindefinefloor 198;
	clear;
	fl_name = "Geometric Tiles";
	fl_which_sheet = 541;
	fl_which_icon = 0;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 0;
	fl_is_floor = 1;
	fl_shortcut_key = 25;
	
begindefinefloor 199;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	
begindefinefloor 200;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
	
	begindefinefloor 201;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;
	
	begindefinefloor 202;
	fl_which_icon = 4;
	fl_ed_which_icon = 4;
	
	begindefinefloor 203;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
	
	begindefinefloor 204;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
	
	begindefinefloor 205;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;
	
	begindefinefloor 206;
	fl_which_icon = 8;
	fl_ed_which_icon = 8;
	
begindefinefloor 207;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
	
begindefinefloor 208;
	clear;
	fl_name = "Ground";
	fl_which_sheet = 520;
	fl_which_icon = 5;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 10;
	fl_is_ground = 1;
	fl_out_fight_town_used = 1010;
	fl_shortcut_key = 4;
	fl_fly_over = 1;	
	fl_icon_adjust = 528;	

begindefinefloor 209;
	clear;
	fl_name = "Small Islet";
	fl_which_sheet = 523;
	fl_which_icon = 1;
	fl_ed_which_sheet = 584;
	fl_ed_which_icon = 16;
	fl_out_fight_town_used = 1011;	
	fl_shimmers = 2;

//Floor types 213:215 are treated as signs!
	
// --- custom terrain ---

begindefineterrain 74; // grass hills
	clear;
	te_name = "Hill";
	te_which_sheet = 529;
	te_which_icon = 0;
	te_ed_which_sheet = 585;
	te_ed_which_icon = 20;
	te_height_adj_pixels = 12;
	te_special_property = 19;
	te_draw_on_automap = 1;
	te_icon_adjust = 288;
	te_out_fight_town_used = 1011;
begindefineterrain 75; 
	te_which_icon = 1;
	te_ed_which_icon = 21;
	te_special_property = 20;
begindefineterrain 76; 
	te_which_icon = 2;
	te_ed_which_icon = 22;
	te_special_property = 21;
begindefineterrain 77; 
	te_which_icon = 3;
	te_ed_which_icon = 23;
	te_special_property = 22;
begindefineterrain 78; 
	te_which_icon = 4;
	te_ed_which_icon = 24;
	te_special_property = 23;
begindefineterrain 79; 
	te_which_icon = 5;
	te_ed_which_icon = 25;
	te_special_property = 24;
begindefineterrain 80; 
	te_which_icon = 6;
	te_ed_which_icon = 26;
	te_special_property = 25;
begindefineterrain 81; 
	te_which_icon = 7;
	te_ed_which_icon = 27;
	te_special_property = 26;
begindefineterrain 82; 
	te_which_icon = 8;
	te_ed_which_icon = 28;
	te_special_property = 27;
begindefineterrain 83; 
	te_which_icon = 9;
	te_ed_which_icon = 29;
	te_special_property = 28;
begindefineterrain 84; 
	te_which_icon = 10;
	te_ed_which_icon = 30;
	te_special_property = 29;
begindefineterrain 85; 
	te_which_icon = 11;
	te_ed_which_icon = 31;
	te_special_property = 30;
begindefineterrain 86; // hills w. road 
	te_which_icon = 12;
	te_ed_which_icon = 32;
	te_is_road = 1;
	te_special_property = 25;
begindefineterrain 87; 
	te_which_icon = 13;
	te_ed_which_icon = 33;
	te_special_property = 19;
begindefineterrain 88;
	te_which_icon = 14;
	te_ed_which_icon = 34;
	te_special_property = 21;
begindefineterrain 89; 
	te_which_icon = 15;
	te_ed_which_icon = 35;
	te_special_property = 23;

begindefineterrain 90; // hills
	clear;
	te_name = "Hill";
	te_which_sheet = 527;
	te_which_icon = 0;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 80;
	te_height_adj_pixels = 12;
	te_special_property = 19;
	te_draw_on_automap = 1;
	te_suppress_floor = 1;
	te_out_fight_town_used = 32;
begindefineterrain 91; 
	te_which_icon = 1;
	te_ed_which_icon = 81;
	te_special_property = 20;
begindefineterrain 92; 
	te_which_icon = 2;
	te_ed_which_icon = 82;
	te_special_property = 21;
begindefineterrain 93; 
	te_which_icon = 3;
	te_ed_which_icon = 83;
	te_special_property = 22;
begindefineterrain 94; 
	te_which_icon = 4;
	te_ed_which_icon = 84;
	te_special_property = 23;
begindefineterrain 95; 
	te_which_icon = 5;
	te_ed_which_icon = 85;
	te_special_property = 24;
begindefineterrain 96; 
	te_which_icon = 6;
	te_ed_which_icon = 86;
	te_special_property = 25;
begindefineterrain 97; 
	te_which_icon = 7;
	te_ed_which_icon = 87;
	te_special_property = 26;
begindefineterrain 98; 
	te_which_icon = 8;
	te_ed_which_icon = 88;
	te_special_property = 27;
begindefineterrain 99; 
	te_which_icon = 9;
	te_ed_which_icon = 89;
	te_special_property = 28;
begindefineterrain 100; 
	te_which_icon = 10;
	te_ed_which_icon = 90;
	te_special_property = 29;
begindefineterrain 101; 
	te_which_icon = 11;
	te_ed_which_icon = 91;
	te_special_property = 30;	 
begindefineterrain 102; // hills w. road 
	te_which_icon = 12;
	te_ed_which_icon = 92;
	te_is_road = 1;
	te_special_property = 25;
begindefineterrain 103; 
	te_which_icon = 13;
	te_ed_which_icon = 93;
	te_special_property = 19;
begindefineterrain 104;
	te_which_icon = 14;
	te_ed_which_icon = 94;
	te_special_property = 21;
begindefineterrain 105; 
	te_which_icon = 15;
	te_ed_which_icon = 95;
	te_special_property = 23;


begindefineterrain 106; // cave hills
	clear;
	te_name = "Hill";
	te_which_sheet = 526;
	te_which_icon = 0;
	te_ed_which_sheet = 585;
	te_ed_which_icon = 0;
	te_height_adj_pixels = 12;
	te_special_property = 19;
	te_draw_on_automap = 1;
	te_suppress_floor = 1;
	te_out_fight_town_used = 1002;
begindefineterrain 107; 
	te_which_icon = 1;
	te_ed_which_icon = 1;
	te_special_property = 20;
begindefineterrain 108; 
	te_which_icon = 2;
	te_ed_which_icon = 2;
	te_special_property = 21;
begindefineterrain 109; 
	te_which_icon = 3;
	te_ed_which_icon = 3;
	te_special_property = 22;
begindefineterrain 110; 
	te_which_icon = 4;
	te_ed_which_icon = 4;
	te_special_property = 23;
begindefineterrain 111; 
	te_which_icon = 5;
	te_ed_which_icon = 5;
	te_special_property = 24;
begindefineterrain 112; 
	te_which_icon = 6;
	te_ed_which_icon = 6;
	te_special_property = 25;
begindefineterrain 113; 
	te_which_icon = 7;
	te_ed_which_icon = 7;
	te_special_property = 26;
begindefineterrain 114; 
	te_which_icon = 8;
	te_ed_which_icon = 8;
	te_special_property = 27;
begindefineterrain 115; 
	te_which_icon = 9;
	te_ed_which_icon = 9;
	te_special_property = 28;
begindefineterrain 116; 
	te_which_icon = 10;
	te_ed_which_icon = 10;
	te_special_property = 29;
begindefineterrain 117; 
	te_which_icon = 11;
	te_ed_which_icon = 11;
	te_special_property = 30;	
begindefineterrain 118; // hills w. road 
	te_which_icon = 12;
	te_ed_which_icon = 12;
	te_is_road = 1;
	te_special_property = 25;
begindefineterrain 119; 
	te_which_icon = 13;
	te_ed_which_icon = 13;
	te_special_property = 19;
begindefineterrain 120;
	te_which_icon = 14;
	te_ed_which_icon = 14;
	te_special_property = 21;
begindefineterrain 121; 
	te_which_icon = 15;
	te_ed_which_icon = 15;
	te_special_property = 23;	
			
begindefineterrain 124;
	import = 153;
	te_move_block_n = 0;
	te_move_block_s = 0;
	te_move_block_e = 0;
	te_move_block_w = 0;
	te_full_look_block = 1;	
	te_icon_adjust = 288;	

begindefineterrain 128;
	clear;
	te_name = "Boulder";
	te_which_sheet = 713;
	te_which_icon = 8;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 38;
	te_draw_on_automap = 1;
	te_full_move_block = 1;
	te_out_fight_town_used = 1012;

begindefineterrain 141;
	// imported for other terrains that don't block movement
	// or do anything special. Not put on automap.
	clear;
	te_name = "Mushrooms";
	te_which_sheet = 717;
	te_which_icon = 0;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 70;
	te_out_fight_town_used = 1004;
	te_draw_on_automap = 1;	
begindefineterrain 142;
	te_which_icon = 1;
	te_ed_which_icon = 71;
begindefineterrain 143;
	te_which_sheet = 716;
	te_which_icon = 0;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 60;
begindefineterrain 144;
	te_name = "Shrub";
	te_which_sheet = 787;
	te_which_icon = 5;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 75;
	te_out_fight_town_used = 1013;
	te_draw_on_automap = 1;
begindefineterrain 145;
	te_which_icon = 6;
	te_ed_which_icon = 76;
begindefineterrain 146;
	te_which_icon = 7;
	te_ed_which_icon = 77;
	te_draw_on_automap = 1;
begindefineterrain 153;
	clear;
	te_name = "Tree";
	te_which_sheet = 787;
	te_which_icon = 8;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 71;
	//te_full_look_block = 1;
	te_draw_on_automap = 1;
	te_full_move_block = 1;
	te_icon_adjust = 288;
		
begindefineterrain 157;
	clear;
	te_name = "Rubble";
	te_which_sheet = 714;
	te_which_icon = 2;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 42;
	te_step_sound = 47;
begindefineterrain 158;
	te_which_icon = 3;
	te_ed_which_icon = 43;

begindefineterrain 169;
	import = 10;
	te_name = "Closed Fence Gate";
	te_swap_terrain = 174;
	te_which_sheet = 788;
	te_which_icon = 3;
	te_cutaway_which_icon = -1;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 83;
	te_look_block_n = 0;
	te_blocks_view_n = 0;
	te_draw_on_automap = 1;
begindefineterrain 170;
	import = 22;
	te_name = "Fence";
	te_which_sheet = 788;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 80;
	te_cutaway_which_sheet = -1;
	//te_icon_offset_x = -20;
	te_draw_on_automap = 1;
begindefineterrain 171;
	import = 23;
	te_name = "Fence";
	te_which_sheet = 788;
	te_which_icon = 1;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 81;
	te_cutaway_which_sheet = -1;
	te_draw_on_automap = 1;
begindefineterrain 172;
	import = 24;
	te_which_sheet = 788;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 98;
	te_cutaway_which_sheet = -1;
	te_draw_on_automap = 1;
begindefineterrain 173;
	import = 25;
	te_which_sheet = 788;
	te_which_icon = 1;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 99;
	te_cutaway_which_sheet = -1;
	//te_icon_offset_y = 10;
	te_draw_on_automap = 1;	
begindefineterrain 174;
	import = 14;
	te_name = "Open Fence Gate";
	te_swap_terrain = 169;
	te_which_sheet = 788;
	te_which_icon = 4;
	te_cutaway_which_icon = -1;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 84;
	te_icon_offset_x = -2;//-35;
	te_icon_offset_y = 1;//1;
	te_draw_on_automap = 1;		
					
begindefineterrain 175;
	clear;
	te_name = "Locker";
	te_which_sheet = 514;
	te_which_icon = 4;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 15;
	te_draw_on_automap = 1;
	te_full_move_block = 1;
	te_full_look_block = 0;
	te_special_property = 40;
	te_can_look_at = 1;	
	te_swap_terrain = 494;
	te_default_script = "lockbox";
			
begindefineterrain 176;
	te_which_icon = 6;
	te_ed_which_icon = 16;	
	te_swap_terrain = 495;
	
begindefineterrain 177;
	clear;
	te_name = "Basalt Wall";
	te_which_sheet = 515;
	te_which_icon = 9;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 46;	
	te_full_move_block = 1;
	te_full_look_block = 1;
	te_draw_on_automap = 1;
		
begindefineterrain 206;
	clear;
	te_name = "Bed";
	te_draw_on_automap = 1;
	te_special_property = 41;
	te_height_adj_pixels = 10;
	te_which_sheet = 720;
	te_which_icon = 0;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 90;
begindefineterrain 207;
	te_which_icon = 1;
	te_ed_which_icon = 91;

begindefineterrain 234;	
	import = 178;
	te_name = "Bookshelf";
	te_which_sheet = 724;
	te_which_icon = 8;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 48;
	te_icon_offset_y = -12;
	te_special_property = 40;
	te_move_block_n = 1;
	te_look_block_n = 1;
	
begindefineterrain 235;
	te_which_icon = 9;
	te_ed_which_icon = 49;
	te_icon_offset_x = -18;
	te_move_block_w = 1;
	te_look_block_w = 1;
	
begindefineterrain 271;
	clear;
	te_name = "Magical Barrier";
	te_which_sheet = 743;
	te_which_icon = 3;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 18;
	te_special_property = 8;
	te_special_strength = 32;
	te_full_look_block = 1;
	te_anim_steps = 4;
	te_draw_on_automap = 1;
	te_light_radius = 1;
	
begindefineterrain 287;
	clear;
	te_name = "Magical Barrier";
	te_which_sheet = 743;
	te_which_icon = 3;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 18;
	te_full_look_block = 1;
	te_anim_steps = 4;
	te_draw_on_automap = 1;	
	
begindefineterrain 300; // stone in water, blocks movement 
	clear;
	te_name = "Small Islet";
	te_which_sheet = 523;
	te_which_icon = 1;
	te_ed_which_sheet = 584;
	te_ed_which_icon = 55;
	te_full_move_block = 0;	
	te_draw_on_automap = 1;
	te_out_fight_town_used = 1011;	
	
		
begindefineterrain 301; //  stone in water, stepping stone
	clear;
	te_name = "Stepping Stones";
	te_which_sheet = 523;
	te_which_icon = 2;
	te_ed_which_sheet = 584;
	te_ed_which_icon = 56;
	te_full_move_block = 1;
	te_draw_on_automap = 1;	
	te_suppress_floor  = 0;
			
begindefineterrain 358;	
	import = 234;
	te_name = "Rack";
	te_which_sheet = 516;
	te_which_icon = 8;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 48;
	te_icon_offset_x = 4;
	te_icon_offset_y = -8;
	te_special_property = 40;
	te_move_block_n = 1;
	te_suppress_floor  = 1;	
	
begindefineterrain 359;
	te_which_icon = 9;
	te_ed_which_icon = 49;
	te_icon_offset_x = -8;
	te_icon_offset_y = -5;
	te_move_block_w = 1;


begindefineterrain 377;
	clear;	
	te_name = "Stairs into Ground";
	te_which_sheet = 515;
	te_which_icon = 8;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 47;
	te_draw_on_automap = 1;	
	
begindefineterrain 390;
	clear;	
	te_name = "Desk";
	te_which_sheet = 515;
	te_which_icon = 0;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 0;
	te_draw_on_automap = 1;
	te_full_move_block = 1;
	te_special_property = 40;
	te_can_look_at = 1;
	
begindefineterrain 391;
	te_which_icon = 1;
	te_ed_which_icon = 1;	
	
begindefineterrain 392;
	te_which_icon = 4;
	te_ed_which_icon = 4;	
	
begindefineterrain 393;
	te_which_icon = 5;
	te_ed_which_icon = 5;			
	
begindefineterrain 421;
	import = 217;
	te_which_sheet = 511;
	te_which_icon = 0;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 0;

begindefineterrain 422;
	import = 276;
	te_which_sheet = 511;
	te_which_icon = 1;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 1;

begindefineterrain 423;
	import = 278;
	te_which_sheet = 511;
	te_which_icon = 2;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 2;

begindefineterrain 424;
	import = 280;
	te_which_sheet = 511;
	te_which_icon = 3;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 3;

begindefineterrain 430;
	import = 277;
	te_which_sheet = 511;
	te_which_icon = 9;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 9;

begindefineterrain 431;
	clear;	
	te_name = "Fence";
	te_which_sheet = 505;
	te_which_icon = 0;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 24;
	te_full_move_block = 0;
	te_full_look_block = 0;
	te_move_block_n = 1;
	te_move_block_w = 1;

begindefineterrain 432;
	te_full_move_block = 0;
	te_full_look_block = 0;
	te_move_block_s = 1;
	te_move_block_w = 1;
	te_which_icon = 1;
	te_ed_which_icon = 25;

begindefineterrain 433;
	te_full_move_block = 0;
	te_full_look_block = 0;
	te_move_block_s = 1;
	te_move_block_e = 1;
	te_which_icon = 2;
	te_ed_which_icon = 26;

begindefineterrain 434;
	te_full_move_block = 0;
	te_full_look_block = 0;
	te_move_block_n = 1;
	te_move_block_e = 1;
	te_which_icon = 3;
	te_ed_which_icon = 27;

begindefineterrain 435;
	clear;
	te_name = "Closed Fence Gate";
	te_default_script = "door";
	te_full_move_block = 1;
	te_full_look_block = 0;
	te_swap_terrain = 436;
	te_which_sheet = 505;
	te_which_icon = 4;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 28;

begindefineterrain 436;
	te_name = "Open Fence Gate";
	te_swap_terrain = 435;
	te_which_icon = 5;
	te_ed_which_icon = 29;
	te_full_move_block = 0;
	te_full_look_block = 0;

begindefineterrain 438; //Impassable mountains 
	clear;
	te_name = "Mountain";
	te_full_move_block = 1;
	te_which_sheet = 528;
	te_which_icon = 18;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 48;
	te_height_adj_pixels = 12;
	te_draw_on_automap = 1;
	
begindefineterrain 439; 
	te_which_icon = 19;
	te_ed_which_icon = 49;
	te_height_adj_pixels = 12;
		
begindefineterrain 440;
	te_which_icon = 0;
	te_ed_which_icon = 50;
	te_height_adj_pixels = 12;
	te_special_property = 19;
	te_draw_on_automap = 1;
	te_out_fight_town_used = 1011;
	
begindefineterrain 441; 
	te_which_icon = 1;
	te_ed_which_icon = 51;
	te_special_property = 20;

begindefineterrain 442; 
	te_which_icon = 2;
	te_ed_which_icon = 52;
	te_special_property = 21;

begindefineterrain 443; 
	te_which_icon = 3;
	te_ed_which_icon = 53;
	te_special_property = 22;

begindefineterrain 444; 
	te_which_icon = 4;
	te_ed_which_icon = 54;
	te_special_property = 23;

begindefineterrain 445; 
	te_which_icon = 5;
	te_ed_which_icon = 55;
	te_special_property = 24;

begindefineterrain 446; 
	te_which_icon = 6;
	te_ed_which_icon = 56;
	te_special_property = 25;

begindefineterrain 447; 
	te_which_icon = 7;
	te_ed_which_icon = 57;
	te_special_property = 26;

begindefineterrain 448; 
	te_which_icon = 8;
	te_ed_which_icon = 58;
	te_special_property = 27;

begindefineterrain 449; 
	te_which_icon = 9;
	te_ed_which_icon = 59;
	te_special_property = 28;

begindefineterrain 450; 
	te_which_icon = 10;
	te_ed_which_icon = 60;
	te_special_property = 29;

begindefineterrain 451; 
	te_which_icon = 11;
	te_ed_which_icon = 61;
	te_special_property = 30;

begindefineterrain 452; 
	import = 74;
	te_name = "Mountain";	
	te_full_move_block = 0;
	te_move_block_w = 0;
	te_which_sheet = 528;
	te_which_icon = 16;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 66;
	te_hidden_town_terrain = 440;
	te_icon_adjust = 0;	

begindefineterrain 453; 
	import = 80;
	te_name = "Mountain";
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_sheet = 528;
	te_which_icon = 17;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 67;
	te_hidden_town_terrain = 446;
	te_icon_adjust = 0;		
	
begindefineterrain 454; 
	clear;
	te_name = "Rune Sign";
	te_which_sheet = 512;
	te_which_icon = 9;
	te_ed_which_sheet = 582;
	te_ed_which_icon = 19;
	te_icon_adjust = 512;
	te_shortcut_key = 16;

begindefineterrain 456; // hills w. road 
	clear;
	te_which_sheet = 528;
	te_which_icon = 12;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 62;
	te_is_road = 1;
	te_special_property = 25;
begindefineterrain 457; 
	te_which_icon = 13;
	te_ed_which_icon = 63;
	te_special_property = 19;
begindefineterrain 458;
	te_which_icon = 14;
	te_ed_which_icon = 64;
	te_special_property = 21;
begindefineterrain 459; 
	te_which_icon = 15;
	te_ed_which_icon = 65;
	te_special_property = 23;
	
begindefineterrain 460; 
	clear;
	te_name = "City Wall";
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_sheet = 159;
	te_which_icon = 0;
	te_ed_which_sheet = 585;
	te_ed_which_icon = 60;

begindefineterrain 461; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 1;
	te_ed_which_icon = 61;
	
begindefineterrain 462; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 2;
	te_ed_which_icon = 62;
	
begindefineterrain 463; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 3;
	te_ed_which_icon = 63;
	
begindefineterrain 464; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 4;
	te_ed_which_icon = 64;
	
begindefineterrain 465; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 5;
	te_ed_which_icon = 65;
	
begindefineterrain 466; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 6;
	te_ed_which_icon = 66;
	
begindefineterrain 467; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 7;
	te_ed_which_icon = 67;
	
begindefineterrain 468; 
	te_full_move_block = 0;
	te_move_block_n = 0;
	te_which_icon = 8;
	te_ed_which_icon = 68;
	
begindefineterrain 469;
	clear;
	te_name = "Boulder";
	te_draw_on_automap = 1;
	te_full_move_block = 1;
	te_which_sheet = 571;
	te_which_icon = 8;
	te_ed_which_sheet = 583;
	te_ed_which_icon = 68;
	te_crumble_type = 0;
	te_terrain_to_crumble_to = 157;
	te_beam_hit_type = 3;

		
begindefineterrain 494; 
	clear;
	te_name = "Locker";
	te_which_sheet = 514;
	te_which_icon = 5;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 15;
	te_draw_on_automap = 1;
	te_full_move_block = 1;
	te_full_look_block = 0;
	te_special_property = 40;
	te_can_look_at = 1;	
	te_swap_terrain = 175;
	te_default_script = "lockbox";	
	te_shortcut_key = -1;
	
begindefineterrain 495; 	
	te_which_icon = 7;
	te_ed_which_icon = 16;
	te_swap_terrain = 176;	

begindefineterrain 496; 
	clear;
	te_name = "Wooden Stairs";
	te_which_sheet = 510;
	te_which_icon = 6;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 86;
	te_height_adj_pixels = 12;
	te_special_property = 25;
	te_draw_on_automap = 1;

begindefineterrain 497; 
	te_which_icon = 7;
	te_ed_which_icon = 87;
	te_special_property = 19;

begindefineterrain 498; 
	te_which_icon = 8;
	te_ed_which_icon = 88;
	te_special_property = 21;

begindefineterrain 499; 
	te_which_icon = 9;
	te_ed_which_icon = 89;
	te_special_property = 23;

begindefineterrain 500;
	clear;
	te_name = "Bed";
	te_which_sheet = 508;
	te_which_icon = 0;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 20;
	te_draw_on_automap = 0;
	te_special_property = 41;
	te_height_adj_pixels = 10;
	te_full_move_block = 1;
	te_shortcut_key = -1;

begindefineterrain 501;
	te_which_icon = 1;
	te_ed_which_icon = 21;

begindefineterrain 502;
	te_which_icon = 2;
	te_ed_which_icon = 22;

begindefineterrain 503;
	te_which_icon = 3;
	te_ed_which_icon = 23;

begindefineterrain 504;
	te_which_icon = 4;
	te_ed_which_icon = 24;
	
begindefineterrain 505;
	te_which_icon = 5;
	te_ed_which_icon = 25;	
		
begindefineterrain 506;
	clear;
	te_name = "Table";
	te_which_sheet = 510;
	te_which_icon = 0;
	te_ed_which_sheet = 581;
	te_ed_which_icon = 80;
	te_special_property = 41;
	te_height_adj_pixels = 14;
	te_full_move_block = 1;

begindefineterrain 507;
	te_which_icon = 1;
	te_ed_which_icon = 81;

begindefineterrain 508;
	te_which_icon = 2;
	te_ed_which_icon = 82;

begindefineterrain 509;
	te_which_icon = 3;
	te_ed_which_icon = 83;

begindefineterrain 510;
	te_which_icon = 4;
	te_ed_which_icon = 84;

begindefineterrain 511;
	te_which_icon = 5;
	te_ed_which_icon = 85;

// --- custom items ---

begindefineitem 445; 
	clear;
	it_full_name = "Book";
	it_identified = 1;
	it_variety = 21;
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 1;
	it_inventory_icon = 1;
	it_weight = 1;
	it_identified = 1;

begindefineitem 446; 
	it_full_name = "Book";
	it_floor_which_icon = 2;
	it_inventory_icon = 2;

begindefineitem 447; 
	it_full_name = "Book";
	it_floor_which_icon = 3;
	it_inventory_icon = 3;

begindefineitem 448; 
	it_full_name = "Book Collection";
	it_variety = 21;
	it_ability_1 = 207;
	it_ability_str_1 = 36;
	it_identified = 1;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	
begindefineitem 449;
	clear;
	it_full_name = "Scroll";
	it_variety = 8;
	it_floor_which_sheet = 1014;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_value = 1;
	it_weight = 1;

begindefineitem 450;	
	import = 7;
  		
begindefineitem 451;
	clear;
	it_name = "Dagger";
	it_full_name = "Nimthanc";
	it_floor_which_sheet = 1004;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;	
	it_variety = 1;
	it_damage_per_level = 6;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_icon_adjust = 1;
	it_ability_1 = 89;
	it_ability_str_1 = 8;
	it_value = 1100;
	it_weight = 120;
	it_magic = 1;
	
begindefineitem 452;	
import = 415;	

begindefineitem 453;
	import = 148;
	it_full_name = "Heavy Gauntlets";
	it_ability_1 = 59;
	it_ability_str_1 = 8;
	it_protection = 8;
	it_value = 1000;
	it_magic = 1;

begindefineitem 454;
	import = 63;
	it_full_name = "Gurthang";
	it_ability_1 = 78;
	it_ability_str_1 = 40;
	it_value = 5000;

begindefineitem 455;
	clear;
	it_name = "Bolts";
	it_full_name = "Shockbolts";
	it_variety = 24;
	it_bonus = 8;
	it_charges = 20;
	it_floor_which_sheet = 1014;
	it_floor_which_icon = 0;
	it_inventory_icon = 9;
	it_value = 100;
	it_weight = 1;
	it_magic = 1;

begindefineitem 456;
	clear;
	it_name = "Skull";
	it_full_name = "Odd Skull";
	it_variety = 9;
	it_charges = 3;
	it_ability_1 = 132;
	it_ability_str_1 = 40;
	it_floor_which_sheet = 1015;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_value = 200;
	it_weight = 50;
	
begindefineitem 458;
	clear;
	it_name = "Hammer";
	it_full_name = "Bronze Hammer";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = 0;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 40;
	it_weight = 90;

begindefineitem 459;
	it_name = "Hammer";
	it_full_name = "Iron Hammer";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 80;

begindefineitem 460;
	it_name = "Hammer";
	it_full_name = "Steel Hammer";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 240;

begindefineitem 461;
	it_name = "Hammer";
	it_full_name = "Blessed Hammer";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 1200;
	it_magic = 1;

begindefineitem 463; 
	clear;
	it_full_name = "Pot Plant";
	it_identified = 1;
	it_variety = 21;
	it_floor_which_sheet = 1049;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_weight = 1;	
	
begindefineitem 464; 
	clear;
 	it_full_name = "Orb of Flight";
	it_identified = 1;
	it_variety = 21;
	it_floor_which_sheet = 1017;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_weight = 1;		
	it_ability_1 = 213;
	it_ability_str_1 = 4;
	
			
// --- custom creatures ---
// CREATURE TYPES

// A Blades of Avernum scenario can have up to 256 creature types.

begindefinecreature 91;
	clear;
	cr_name = "Black shade";
	cr_level = 12;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 10;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 10;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_which_sheet = 1538;
	cr_icon_adjust = 80;	
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_ap_bonus = 1;
	cr_default_strategy = 1;

begindefinecreature 99;
	clear;
	cr_name = "Guardian";
	cr_level = 18;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 8;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 12;
	cr_which_sheet = 1582;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_immunities 0 = 100;

	begindefinecreature 107;
	clear;
	cr_name = "Fernow";
	cr_level = 15;
	cr_what_stat_adjust 0 = 21;
	cr_amount_stat_adjust 0 = 4;
	cr_what_stat_adjust 1 = 22;
	cr_amount_stat_adjust 1 = 5;
	cr_start_item 0 = 35;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 36;
	cr_start_item_chance 1 = 8;
	cr_start_item 2 = 132;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 133;
	cr_start_item_chance 3 = 8;
	cr_start_item 4 = 56;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 57;
	cr_start_item_chance 5 = 8;
	cr_start_item 6 = 3;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 4;
	cr_hp_bonus = 15;
	cr_default_attitude = 2;
	cr_natural_armor = 8;
	cr_which_sheet = 1509;
	
begindefinecreature 108;
	import = 175;
	cr_name = "Scyld";
	cr_default_attitude = 2;
	cr_immunities 0 = 50;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 3 = 50;
	cr_immunities 4 = 50;
	cr_which_sheet = 1581;
	

begindefinecreature 234;
	clear;
	cr_name = "Elder Hraithe";
	cr_level = 40;
	cr_hp_bonus = 100;
	cr_immunities 0 = 50;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 4 = 100;
	cr_special_abil = 23;
	cr_special_abil = 37;
	cr_default_attitude = 3;
	cr_start_item 0 = 385;
	cr_start_item_chance 0 = 45;
	cr_species = 8;
	cr_which_sheet = 1583;
	cr_default_strategy = 1;

begindefinecreature 235;
	clear;
	cr_name = "Agent";
	cr_level = 25;
	cr_special_abil = 1;
	cr_special_abil = 21;
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_immunities 2 = 50;
	cr_immunities 4 = 50;
	cr_default_attitude = 2;
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 6;
	cr_what_stat_adjust 1 = 22;
	cr_amount_stat_adjust 1 = 5;
	cr_what_stat_adjust 2 = 23;
	cr_amount_stat_adjust 2 = 8;
	cr_what_stat_adjust 3 = 24;
	cr_amount_stat_adjust 3 = 8;
	cr_natural_armor = 50;
	cr_which_sheet = 590;
	cr_attack_23_type = 9;
	cr_icon_adjust = 2;

begindefinecreature 236;
	clear;
	cr_name = "Aeschere";
	cr_level = 2;
	cr_start_item 0 = 53;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 205;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 330;
	cr_start_item_chance 2 = 100;
	cr_default_attitude = 3;
	cr_which_sheet = 1572;
	cr_small_or_large_template = 0;
	cr_default_courage = 0;
	cr_default_attitude = 3;
	

begindefinecreature 237;
	import = 5;
	cr_name = "Swordsman";
	cr_default_attitude = 4;

begindefinecreature 238;
	clear;
	cr_level = 15;
	cr_name = "Grendling";
	cr_immunities 0 = 50;
	cr_immunities 4 = 100;
	cr_special_abil = 1;
	cr_special_abil = 6;
	cr_species = 1;
	cr_attack_1_type = 1;
	cr_attack_23_type = 1;
	cr_default_attitude = 4;
	cr_which_sheet = 1682;
	cr_icon_adjust = 4;
	
begindefinecreature 239;
	import = 131;
	cr_name = "Escort";
	cr_default_attitude = 4;
	cr_which_sheet = 1508;

begindefinecreature 240; 
	import = 132;
	cr_name = "Marksman";

begindefinecreature 241;
	clear;
	cr_level = 10;
	cr_name = "Sewer Rat";
	cr_immunities 4 = 50;
	cr_special_abil = 1;
	cr_special_abil = 6;
	cr_start_item 0 = 180;
	cr_start_item_chance 0 = 15;
	cr_hp_bonus = 2;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1544;
	cr_icon_adjust = 20;
	cr_attack_1_type = 2;
	cr_summon_class = 2;

begindefinecreature 242;
	clear;
	cr_level = 30;
	cr_name = "Dracan";
	cr_default_attitude = 3;
	cr_species = 1;
	cr_which_sheet = 591;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 16;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 27;
	cr_special_abil = 28;
	cr_default_strategy = 1;
	cr_default_script = "Dracan";	

begindefinecreature 243;//
	import = 131;
	cr_name = "Guard";
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_what_stat_adjust 0 = 7;
	cr_amount_stat_adjust 0 = 2;
	cr_start_item 0 = 87;
	cr_start_item_chance 0 = 20;
	cr_start_item 1 = 88;
	cr_start_item_chance 1 = 60;
	cr_which_sheet = 1508;

begindefinecreature 244;
	import = 175;
	cr_name = "Scyld";
	cr_default_attitude = 2;
	cr_immunities 0 = 50;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 3 = 50;
	cr_immunities 4 = 50;
	cr_which_sheet = 1572;

begindefinecreature 245;
	import = 131;
	cr_name = "Freawaru";
	cr_immunities 2 = 50;
	cr_immunities 3 = 50;

begindefinecreature 246;
	import = 16;
	cr_name = "Finn";
	cr_level = 20;

begindefinecreature 247;
	clear;
	cr_level = 20;
	cr_name = "Aether Wraith";
	cr_which_sheet = 1538;
	cr_immunities 0 = 0;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 37;
	cr_attack_23_type = 8;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_default_strategy = 1;

begindefinecreature 248;
	clear;
	cr_level = 16;
	cr_name = "Zephyr Beast";
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_special_abil = 21;
	cr_special_abil = 33;
	cr_start_item 0 = 181;
	cr_start_item_chance 0 = 10;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1612;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;
	cr_summon_class = 3;
	cr_icon_adjust = 1;
	
begindefinecreature 249;
	clear;
	cr_level = 30;
	cr_name = "Zephyr Lord";
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_summon_class = 8;
	cr_special_abil = 28;
	cr_attack_1_type = 7;
	cr_attack_23_type = 8;
	cr_what_stat_adjust 0 = 8;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 9;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 10;
	cr_amount_stat_adjust 2 = 4;
	cr_start_item 0 = 208;
	cr_start_item_chance 0 = 25;
	cr_start_item 1 = 210;
	cr_start_item_chance 1 = 25;
	cr_start_item 2 = 212;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 213;
	cr_start_item_chance 3 = 25;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_which_sheet = 1621;
	cr_which_sheet_upper = 1622;
	cr_hp_bonus = 300;
	cr_natural_armor = 40;
	cr_ap_bonus = 4;
	cr_default_script = "greaternpc";
	cr_icon_adjust = 1;

begindefinecreature 250;
	clear;
	cr_level = 16;
	cr_name = "Burning Soul";
	cr_which_sheet = 1538;
	cr_immunities 0 = 100;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 30;
	cr_attack_1_type = 0;
	cr_attack_23_type = 7;
	cr_default_attitude = 4;
	cr_species = 8;

begindefinecreature 251;
	import = 131;
	cr_name = "Sorali";
	cr_immunities 0 = 50;
	cr_immunities 2 = 100;
	cr_special_abil = 1;
	cr_special_abil = 3;
	cr_default_script = "greaternpc";
	
begindefinecreature 252;
	clear;
	cr_level = 40;
	cr_name = "Mephistopheles";
	cr_hp_bonus = 500;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 28;
	cr_special_abil = 33;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_natural_armor = 25;
	cr_which_sheet = 1550;
	cr_attack_1_type = 2;
	cr_attack_23_type = 1;

begindefinecreature 253;
	clear;
	cr_name = "Elder Spider";
	cr_level = 15;
	cr_hp_bonus = 10;
	cr_immunities 2 = 50;
	cr_immunities 4 = 100;
	cr_special_abil = 5;
	cr_default_attitude = 3;
	cr_species = 9;
	cr_natural_armor = 5;
	cr_which_sheet = 1573;
	cr_attack_1_type = 2;

begindefinecreature 254;
	clear;
	cr_name = "Will o' Wisp";
	cr_level = 15;
	cr_hp_bonus = 30;
	cr_what_stat_adjust 1 = 0;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 1;
	cr_amount_stat_adjust 2 = 5;
	cr_what_stat_adjust 3 = 4;
	cr_amount_stat_adjust 3 = 5;
	cr_immunities 0 = 50;
	cr_immunities 1 = 0;
	cr_immunities 2 = 50;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 75;
	cr_special_abil = 1;
	cr_special_abil = 24;	
	cr_default_attitude = 3;
	cr_which_sheet = 1450;
	cr_default_strategy = 1;

begindefinecreature 255;
	clear;
	cr_name = "Grendel";
	cr_level = 40;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 4 = 100;
	cr_special_abil = 1;
	cr_special_abil = 6;
	cr_special_abil = 37;
	cr_species = 1;
	cr_default_attitude = 4;
	cr_which_sheet = 1682;

